//
//  CompletedOrderView.m
//  JxCarios
//
//  Created by xcq on 15/3/6.
//  Copyright (c) 2015年 xiongchuanqi. All rights reserved.
//

#import "CompletedOrderView.h"

#import "Common.h"
@implementation CompletedOrderView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (IBAction)shensuAction:(id)sender {
    [Common callPhone:@"0791-961111" andControl:self];
}
- (IBAction)pingjiaAction:(id)sender {
    if(_target) {
        SuppressPerformSelectorLeakWarning(
         [_target performSelector:_action withObject:[[_orderId.text componentsSeparatedByString:@":"] lastObject]];
        );
    }
}

@end
